package com.lyl.serviceucenter.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lyl.serviceucenter.entity.Member;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lyl.serviceucenter.entity.vo.LoginVo;
import com.lyl.serviceucenter.entity.vo.RegisterVo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author 雷艳玲
 * @since 2022-06-18
 */
public interface MemberService extends IService<Member> {

    String login(LoginVo loginVo);

    boolean register(RegisterVo registerVo);

    LoginVo getLoginInfo(String memberId);


    Member getByOpenid(String openid);

    String loginByCode(LoginVo loginVo);

    Long getMemberCountByDay(String date);

    String bindPhone(String openId, String phone, String code);

    void pageQuery(Page<Member> pageParam, Member member);

    boolean updateStatusById(Long id, Boolean bannerStatus);
}
